﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Lead_Generator.aspx.cs"
    Inherits="CTEA_INDIA.Lead_Generator" Theme="Default" %>

<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Lead Generator</title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
    <link type="text/css" href="CSS/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
    <script type="text/javascript" src="JS/jquery-1.3.2.js"></script>
    <script type="text/javascript" src="JS/jquery-ui-1.7.2.custom.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            // Tabs
            $('#tabs').tabs({ selected: 0 });
            $('#tabs').bind('tabsshow', function (event, ui) {
                var tabSelected = "#tab" + ui.index + "Selected";
                $(tabSelected).html("isClicked");
            });



            $('#menu_lnkEnquiry').css({ color: '#DBA615' });
            //hover states on the static widgets
            $('#dialog_link, ul#icons li').hover(
					function () { $(this).addClass('ui-state-hover'); },
					function () { $(this).removeClass('ui-state-hover'); }
				);
        });
    </script>
    <script type="text/javascript">

        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
        }




        function isUnsolved(dropdown) {
            if (dropdown.selectedIndex == 2) {
                document.getElementById("Unsolved").style.visibility = "Visible";

            }
            else {
                document.getElementById("Unsolved").style.visibility = "collapse";
            }
        }

        function dateCheck(textbox) {

            var d2 = new Date(document.getElementById("txtEndDate").value);
            var d1 = new Date(document.getElementById("txtStartDate").value);

            var t2 = d2.getTime();
            var t1 = d1.getTime();

            var days = parseInt((t2 - t1) / (24 * 3600 * 1000));
            if (parseInt((t2 - t1) / (24 * 3600 * 1000)) >= 0) {
                document.getElementById("txtTotalNoDays").value = days;
            }
            else {
                document.getElementById("txtTotalNoDays").value = "0";
            }
        }



        function showLocation() {
            var Val = document.getElementById("ddlSearch");
            var valuee = Val.options[Val.selectedIndex].value;
            // response.write(Val);
            // alert(valuee);
            if (valuee == 0) {

                document.getElementById("ddlLoc").style.display = "none";
                document.getElementById("txtSearchText").style.visibility = "hidden";
            }
            else if (valuee == 2) {
                document.getElementById("ddlLoc").style.display = "table-cell";
                document.getElementById("txtSearchText").style.visibility = "hidden";
            }
            else {
                document.getElementById("ddlLoc").style.display = "none";
                document.getElementById("txtSearchText").style.visibility = "visible";
            }
        }
        
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div>
        <center>
            <table width="1000px" border="0">
                <tr>
                    <td valign="top" align="center">
                        <table border="0" class="MainDiv">
                            <tr>
                                <td valign="top" align="center" width="180px">
                                    <m1:Menu runat="server" ID="menu" />
                                </td>
                                <td valign="top">
                                    <table border="0" width="650px">
                                        <tr>
                                            <td class="myaccount" align="left">
                                                <asp:Label ID="Label20" runat="server" Text="Lead Generation" CssClass="headingpage"></asp:Label><br />
                                                <div class="imgstrip">
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <div id="tabs">
                                                    <ul>
                                                        <li><a href="#tabs-0">Add Lead</a></li>
                                                        <li><a href="#tabs-1">All Leads</a></li>
                                                        <li><a href="#tabs-2">Status</a></li>
                                                    </ul>
                                                    <div id="tabs-0" style="overflow: auto;">
                                                        <input type="hidden" id="tab0Selected" />
                                                        <div id="Div2" style="float: left; width: 100%;">
                                                            <table>
                                                                <tr>
                                                                    <td id="spnMsgs" visible="false" runat="server" style="border: 1px solid green; background: #BFFFDF;
                                                                        width: 460px;" align="center">
                                                                        <span style="border: none;" runat="server" id="spnText" visible="true" class="spanMsgs">
                                                                        </span>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="center">
                                                                        <fieldset>
                                                                            <legend class="headingfieldset">Details</legend>
                                                                            <table style="text-align: left; padding-left: 20px; padding-right: 20px;" width="480px"
                                                                                cellpadding="5px" cellspacing="3px" border="0">
                                                                                <tr>
                                                                                    <td class="style1" align="left" style="text-align: left; width: 240px">
                                                                                        <asp:Label ID="Label2" runat="server" Text="Name" CssClass="Formlbl"></asp:Label><sup
                                                                                            style="color: Red;"> *</sup>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox MaxLength="100" ID="txtName" runat="server"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
                                                                                            ControlToValidate="txtName" ErrorMessage="Please, Enter Name" CssClass="validators"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID="RequiredFieldValidator1">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label21" runat="server" Text="Contact Number" CssClass="Formlbl"></asp:Label><sup
                                                                                            style="color: Red;"> *</sup>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox MaxLength="15" ID="txtContactNumber" runat="server" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" Display="None"
                                                                                            ControlToValidate="txtContactNumber" ErrorMessage="Please, Enter Contact" CssClass="validators"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender5" runat="server" TargetControlID="RequiredFieldValidator4">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1" valign="top">
                                                                                        <asp:Label ID="Label8" runat="server" Text="Location" CssClass="Formlbl"></asp:Label><sup
                                                                                            style="color: Red;"> *</sup>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="ddlLocation" runat="server" Width="170px" DataValueField="IDLocation">
                                                                                        </asp:DropDownList>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Please,Select Location"
                                                                                            InitialValue="-1" ControlToValidate="ddlLocation" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RequiredFieldValidator3">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label22" runat="server" Text="Email Id" CssClass="Formlbl"></asp:Label><sup
                                                                                            style="color: Red;"> *</sup>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Invalid Email"
                                                                                            ControlToValidate="txtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                                                            Display="None"></asp:RegularExpressionValidator>
                                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="None"
                                                                                            ControlToValidate="txtEmail" ErrorMessage="Please, Enter Email" CssClass="validators"></asp:RequiredFieldValidator>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender4" runat="server" TargetControlID="RequiredFieldValidator2">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                        <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" TargetControlID="RegularExpressionValidator1">
                                                                                        </asp:ValidatorCalloutExtender>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label15" runat="server" Text="Experience Field" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbInterestedField" runat="server">
                                                                                            <asp:ListItem>Acting</asp:ListItem>
                                                                                            <asp:ListItem>Dancing</asp:ListItem>
                                                                                            <asp:ListItem>Modelling</asp:ListItem>
                                                                                            <asp:ListItem>Investment</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label9" runat="server" Text="Enquiry Type" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbEnquiryType" runat="server">
                                                                                            <asp:ListItem>Call</asp:ListItem>
                                                                                            <asp:ListItem>Visited</asp:ListItem>
                                                                                            <asp:ListItem>Email</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <%--   <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label10" runat="server" Text="Follow up"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbFollowUp" runat="server">
                                                                                            <asp:ListItem>Call</asp:ListItem>
                                                                                            <asp:ListItem>Visited</asp:ListItem>
                                                                                            <asp:ListItem>Email</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>--%>
                                                                                <tr>
                                                                                    <td class="style1" valign="top">
                                                                                        <asp:Label ID="Label1" runat="server" Text="Feedback" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox MaxLength="100" Rows="2" ID="txtFeedback" runat="server" TextMode="MultiLine"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label11" runat="server" Text="Status" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbStatus" runat="server" onchange="isUnsolved(this.form.cmbStatus)">
                                                                                            <asp:ListItem>Pending</asp:ListItem>
                                                                                            <asp:ListItem>Success</asp:ListItem>
                                                                                            <asp:ListItem>Unsolved</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr id="Unsolved" style="visibility: collapse;">
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label12" runat="server" Text="Unsolved Reason" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbUnsolvedReason" runat="server">
                                                                                            <asp:ListItem>Monitary</asp:ListItem>
                                                                                            <asp:ListItem>No proper follow up</asp:ListItem>
                                                                                            <asp:ListItem>No proper counselling</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td class="style1">
                                                                                        <asp:Label ID="Label14" runat="server" Text="Transfer" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:DropDownList ID="cmbTransfer" runat="server">
                                                                                            <asp:ListItem>Writer@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>filmmaking@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>education@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>artistcard@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>portfio@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>workshop@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>auditioninfo@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>promotion@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>actorvideoprfl@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>cineequipment@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>info@cteaindia.com</asp:ListItem>
                                                                                            <asp:ListItem>apountment@cteaindia.com</asp:ListItem>
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td valign="top" class="style1">
                                                                                        <asp:Label ID="Label5" runat="server" Text="How did you came to know about us ?"
                                                                                            CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td class="style1">
                                                                                        <asp:TextBox ID="txtHowBGC" SkinID="Sugg" TextMode="MultiLine" runat="server"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <fieldset>
                                                                            <legend class="headingfieldset ">Reference</legend>
                                                                            <table style="margin: 0px 0px 10px 0px; text-align: left; padding-left: 20px; padding-right: 20px;"
                                                                                width="480px" cellpadding="5px" cellspacing="3px" border="0">
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label17" runat="server" Text="Reference Company Name/Name" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtRefName" runat="server"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td align="left" class="style1" style="width: 240px">
                                                                                        <asp:Label ID="Label18" runat="server" Text="Reference Contact" CssClass="Formlbl"></asp:Label>
                                                                                    </td>
                                                                                    <td align="left">
                                                                                        <asp:TextBox ID="txtRefContact" runat="server" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </fieldset>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="center">
                                                                        <asp:Button ID="Button1" CssClass="btnsubmit" runat="server" Text="Submit" OnClick="Button1_Click" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </div>
                                                    <div id="tabs-1" style="text-align: left; overflow: auto;">
                                                        <input type="hidden" id="tab1Selected" />
                                                        <div>
                                                            <table>
                                                                <tr>
                                                                    <td>
                                                                        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlCandidate">
                                                                            <ProgressTemplate>
                                                                                <center>
                                                                                    <div id="pageLoading">
                                                                                        <center>
                                                                                            <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                                                alt="loading" />
                                                                                            <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                                                Loading...
                                                                                            </div>
                                                                                        </center>
                                                                                        <div id="transparentBg" class="transparentBg">
                                                                                        </div>
                                                                                    </div>
                                                                                </center>
                                                                            </ProgressTemplate>
                                                                        </asp:UpdateProgress>
                                                                        <asp:UpdatePanel ID="upPnlCandidate" runat="server">
                                                                            <ContentTemplate>
                                                                                <table border="0" width="100%">
                                                                                    <tr id="search">
                                                                                        <td align="left">
                                                                                            <asp:Label ID="Label4" runat="server" Text="Search:" CssClass="Label"></asp:Label>
                                                                                            <asp:DropDownList ID="ddlSearch" runat="server" SkinID="ddlBigNew" onchange="showLocation()"
                                                                                                EnableViewState="true">
                                                                                                <asp:ListItem Text="All" Value="0" Selected="True"></asp:ListItem>
                                                                                                <asp:ListItem Text="Name" Value="1">
                                                                                                </asp:ListItem>
                                                                                                <asp:ListItem Text="Location" Value="2"></asp:ListItem>
                                                                                                <asp:ListItem Text="Contact Number" Value="3"></asp:ListItem>
                                                                                            </asp:DropDownList>
                                                                                            <asp:TextBox ID="txtSearchText" runat="server" SkinID="x-bigboxNew"></asp:TextBox>
                                                                                            <asp:DropDownList ID="ddlLoc" runat="server" SkinID="ddlSmallNew">
                                                                                            </asp:DropDownList>
                                                                                            <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="btnsubmit" OnClick="btnSearch_Click"
                                                                                                CausesValidation="false" />
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td valign="top" width="480px" align="center">
                                                                                            <asp:GridView ID="gdLeadGeneration" runat="server" BackColor="White" Width="600px"
                                                                                                BorderColor="#DEDFDE" DataKeyNames="LeadId" BorderStyle="None" BorderWidth="1px"
                                                                                                CellPadding="4" ForeColor="Black" GridLines="Vertical" AllowPaging="True" AutoGenerateColumns="False"
                                                                                                OnRowDataBound="gdLeadGeneration_RowDataBound" EmptyDataText="No data found."
                                                                                                OnPageIndexChanging="gdLeadGeneration_PageIndexChanging">
                                                                                                <AlternatingRowStyle BackColor="White" />
                                                                                                <Columns>
                                                                                                    <asp:BoundField HeaderText="Name" DataField="Name" ItemStyle-Width="150px">
                                                                                                        <ItemStyle Width="200px" />
                                                                                                    </asp:BoundField>
                                                                                                    <asp:BoundField HeaderText="Contact" DataField="Contact" ItemStyle-Width="200">
                                                                                                        <ItemStyle Width="200px" />
                                                                                                    </asp:BoundField>
                                                                                                    <asp:BoundField HeaderText="Loaction" DataField="Location" ItemStyle-Width="80">
                                                                                                        <ItemStyle Width="200px" />
                                                                                                    </asp:BoundField>
                                                                                                    <asp:BoundField HeaderText="ExperienceField" DataField="Interested_Field" ItemStyle-Width="100">
                                                                                                        <ItemStyle Width="200px" />
                                                                                                    </asp:BoundField>
                                                                                                    <asp:TemplateField>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:LinkButton ID="lnkView" runat="server" Text="View" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                OnClick="lnkView_Click" CausesValidation="false"></asp:LinkButton>
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                    <asp:TemplateField>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" ForeColor="#0066FF" ItemStyle-Width="10"
                                                                                                                OnClick="lnkEdit_Click" CausesValidation="false"></asp:LinkButton>
                                                                                                            <asp:LinkButton ID="lnkHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                    <asp:TemplateField>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:LinkButton ID="lnkDelete" OnClick="lnkDelete_Click" CausesValidation="false"
                                                                                                                runat="server" Text="Delete" ForeColor="#0066FF" ItemStyle-Width="10">
                                                                                                            </asp:LinkButton>
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                </Columns>
                                                                                                <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                                                <FooterStyle BackColor="#CCCC99" />
                                                                                                <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                                                <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                                                <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                                                <AlternatingRowStyle BackColor="#edf7fa" />
                                                                                            </asp:GridView>
                                                                                            <!--modal view !-->
                                                                                            <asp:Button ID="btnHiddenPerson" runat="Server" Style="display: none" />
                                                                                            <asp:ModalPopupExtender ID="lnkView_ModalPopupExtender" runat="server" TargetControlID="btnHiddenPerson"
                                                                                                CancelControlID="cancelBtnView" PopupControlID="pnlLnkView" BackgroundCssClass="modalBackground">
                                                                                            </asp:ModalPopupExtender>
                                                                                            <asp:Panel ID="pnlLnkView" runat="server">
                                                                                                <table width="480px" class="ModalPopup" border="0" cellpadding="3" cellspacing="2"
                                                                                                    style="margin-left: 50px">
                                                                                                    <tr>
                                                                                                        <td colspan="4">
                                                                                                            <div style="float: right">
                                                                                                                <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnView" /></div>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr>
                                                                                                        <td>
                                                                                                            <fieldset>
                                                                                                                <legend>Lead Details</legend>
                                                                                                                <table>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Name:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblName" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Contact No.:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblMob" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Location:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblLocation" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Email.:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblEmail" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Experience Field:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblInterestedField" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Enquiry Type:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblEnquiryType" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Follow Up.:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblFollowup" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Feedback:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblFeedback" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Status:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblStatus" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Transfer:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblTransfer" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Date:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblViewDate" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>                                                                                                                    
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            How did you come to know about BGC ?
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblViewBGC" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Reference Name:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblRefName" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                    <tr>
                                                                                                                        <td style="width: 120px;" class="tdheader modalCandidate">
                                                                                                                            Reference Contact:
                                                                                                                        </td>
                                                                                                                        <td width="150px" class="modalCandidate ">
                                                                                                                            <asp:Label ID="lblRefContact" runat="server"></asp:Label>
                                                                                                                        </td>
                                                                                                                    </tr>
                                                                                                                </table>
                                                                                                            </fieldset>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </asp:Panel>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                                <asp:Button ID="btnHiddenPerson1" runat="Server" Style="display: none" />
                                                                                <asp:ModalPopupExtender ID="LnkEditPopUp" runat="server" TargetControlID="btnHiddenPerson1"
                                                                                    CancelControlID="cancelBtnEdit2" PopupControlID="pnlLnkEdit" BackgroundCssClass="modalBackground">
                                                                                </asp:ModalPopupExtender>
                                                                                <asp:Panel ID="pnlLnkEdit" runat="server" Style="overflow: auto; height: 400px; width: 550px"
                                                                                    class="ModalPopup">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td>
                                                                                                <div style="float: right">
                                                                                                    <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdit2" /></div>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td align="left">
                                                                                                <fieldset>
                                                                                                    <legend>Lead Generation </legend>
                                                                                                    <table width="450px" border="0" cellpadding="3" cellspacing="0" style="margin-left: 20px">
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Name:<sup style="color: Red;"> *</sup>
                                                                                                            </td>
                                                                                                            <td class="modalCandidate ">
                                                                                                                <asp:TextBox ID="txtEdtName" runat="server"></asp:TextBox>
                                                                                                                <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator5" runat="server"
                                                                                                                    Display="None" ControlToValidate="txtEdtName" ErrorMessage="Please, Enter Name"
                                                                                                                    CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender6" runat="server" TargetControlID="RequiredFieldValidator5">
                                                                                                                </asp:ValidatorCalloutExtender>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Contact No.:<sup style="color: Red;"> *</sup>
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:TextBox ID="txtEdtContNo" runat="server" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                                                <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator6" runat="server"
                                                                                                                    Display="None" ControlToValidate="txtEdtContNo" ErrorMessage="Please, Enter Contact"
                                                                                                                    CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" TargetControlID="RequiredFieldValidator6">
                                                                                                                </asp:ValidatorCalloutExtender>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Location:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:DropDownList ID="cmbEdtLocation" runat="server">
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Email:<sup style="color: Red;"> *</sup>
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:TextBox ID="txtEdtEmail" runat="server"></asp:TextBox>
                                                                                                                <asp:RegularExpressionValidator ValidationGroup="edit" ID="RegularExpressionValidator2email"
                                                                                                                    runat="server" ErrorMessage="Invalid Email" ControlToValidate="txtEdtEmail" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                                                                                    Display="None"></asp:RegularExpressionValidator>
                                                                                                                <asp:RequiredFieldValidator ValidationGroup="edit" ID="RequiredFieldValidator7" runat="server"
                                                                                                                    Display="None" ControlToValidate="txtEdtEmail" ErrorMessage="Please, Enter Email"
                                                                                                                    CssClass="validators"></asp:RequiredFieldValidator>
                                                                                                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender8" runat="server" TargetControlID="RequiredFieldValidator7">
                                                                                                                </asp:ValidatorCalloutExtender>
                                                                                                                <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender9" runat="server" TargetControlID="RegularExpressionValidator2email">
                                                                                                                </asp:ValidatorCalloutExtender>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Experience Field:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:DropDownList ID="cmbEdtInterested" runat="server">
                                                                                                                    <asp:ListItem>Acting</asp:ListItem>
                                                                                                                    <asp:ListItem>Dancing</asp:ListItem>
                                                                                                                    <asp:ListItem>Modelling</asp:ListItem>
                                                                                                                    <asp:ListItem>Investment</asp:ListItem>
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Enquiry Type:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:DropDownList ID="cmbEdtEnquiryType" runat="server">
                                                                                                                    <asp:ListItem>Call</asp:ListItem>
                                                                                                                    <asp:ListItem>Visited</asp:ListItem>
                                                                                                                    <asp:ListItem>Email</asp:ListItem>
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Feedback:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:TextBox ID="txtEdtFeedback" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Status:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:DropDownList ID="cmbEdtStatus" runat="server" onchange="isUnsolved(this.form.cmbStatus)">
                                                                                                                    <asp:ListItem>Pending</asp:ListItem>
                                                                                                                    <asp:ListItem>Success</asp:ListItem>
                                                                                                                    <asp:ListItem>Unsolved</asp:ListItem>
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Transfer:
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:DropDownList ID="cmbEdtTransfer" runat="server">
                                                                                                                    <asp:ListItem>Writer@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>filmmaking@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>education@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>artistcard@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>portfio@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>workshop@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>auditioninfo@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>promotion@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>actorvideoprfl@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>cineequipment@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>info@cteaindia.com</asp:ListItem>
                                                                                                                    <asp:ListItem>apountment@cteaindia.com</asp:ListItem>
                                                                                                                </asp:DropDownList>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td valign="top" class="tdheader modalCandidate">
                                                                                                                How did you came to know about us ?
                                                                                                            </td>
                                                                                                            <td class="style1">
                                                                                                                <asp:TextBox ID="txtEdtHowBGC" SkinID="Sugg" TextMode="MultiLine" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </fieldset>
                                                                                                <fieldset>
                                                                                                    <legend>References </legend>
                                                                                                    <table width="450px" border="0" cellpadding="3" cellspacing="2" style="margin-left: 20px">
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Reference Company Name/Name :
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:TextBox ID="txtEdtRefComName" runat="server"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                            <td class="tdheader modalCandidate">
                                                                                                                Reference Contact :
                                                                                                            </td>
                                                                                                            <td width="150px" class="modalCandidate ">
                                                                                                                <asp:TextBox ID="txtEdtRefContact" runat="server" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </fieldset>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr align="center">
                                                                                            <td colspan="2">
                                                                                                <asp:Button ID="Button2" CssClass="btnsubmit" runat="server" Text="Update" OnClick="update"
                                                                                                    CausesValidation="true" ValidationGroup="edit" />
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </asp:Panel>
                                                                            </ContentTemplate>
                                                                        </asp:UpdatePanel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </div>
                                                    <div id="tabs-2" style="text-align: left; overflow: auto;">
                                                        <input type="hidden" id="tab2Selected" />
                                                        <div id="Div1" style="float: left;">
                                                            <table>
                                                                <tr>
                                                                    <td align="left" valign="top">
                                                                        <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                                                                            <ProgressTemplate>
                                                                                <center>
                                                                                    <div id="pageLoading">
                                                                                        <center>
                                                                                            <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                                                alt="loading" />
                                                                                            <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                                                Loading...
                                                                                            </div>
                                                                                        </center>
                                                                                        <div id="transparentBg" class="transparentBg">
                                                                                        </div>
                                                                                    </div>
                                                                                </center>
                                                                            </ProgressTemplate>
                                                                        </asp:UpdateProgress>
                                                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                            <ContentTemplate>
                                                                                <table cellpadding="5" width="480px">
                                                                                    <tr>
                                                                                        <td colspan="2">
                                                                                            <span id="spnMsg" runat="server" style="color: red"></span>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                            <div style="float: left">
                                                                                                <asp:LinkButton ID="lnkUnsolved" runat="server" OnClick="lnkUnsolved_Click" CausesValidation="false">Unsolved </asp:LinkButton>
                                                                                            </div>
                                                                                            <div style="float: left; color: #fff; padding: 0px 5px 0px 5px">
                                                                                                |
                                                                                            </div>
                                                                                            <div style="float: left">
                                                                                                <asp:LinkButton ID="lnkPending" runat="server" OnClick="lnkPending_Click" CausesValidation="false">Pending</asp:LinkButton>
                                                                                            </div>
                                                                                            <div style="float: left; color: #fff; padding: 0px 5px 0px 5px">
                                                                                                |
                                                                                            </div>
                                                                                            <div style="float: left">
                                                                                                <asp:LinkButton ID="lnkSolved" runat="server" OnClick="lnkSolved_Click" CausesValidation="false">Success</asp:LinkButton>
                                                                                            </div>
                                                                                            <div style="float: right">
                                                                                                <asp:Button ID="btnTodaySchedule" runat="server" Text="Today's Schedule" OnClick="btnTodaySchedule_Click"
                                                                                                    CausesValidation="false" />
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td align="center">
                                                                                            <asp:GridView ID="gvEnquiry" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                                                                                ForeColor="#333333" BorderColor="#DEDFDE" GridLines="None" EmptyDataText="Data not available."
                                                                                                DataKeyNames="EnquiryID">
                                                                                                <AlternatingRowStyle BackColor="White" Width="480px" />
                                                                                                <Columns>
                                                                                                    <asp:TemplateField HeaderText="Enquiry ID">
                                                                                                        <ItemTemplate>
                                                                                                            <asp:LinkButton ID="lnkEnquiry" runat="server" Text='<%# Bind("EnquiryID") %>' OnClick="lnkEnquiry_Click"
                                                                                                                CausesValidation="false"></asp:LinkButton>
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                    <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                                                                                                    <%--<asp:BoundField DataField="EmailID" HeaderText="Email" SortExpression="EmailID" />--%>
                                                                                                    <asp:BoundField DataField="MobileNo" HeaderText="Mobile No" SortExpression="MobileNo" />
                                                                                                    <asp:BoundField DataField="Interested_Field" HeaderText="Category" SortExpression="Interested_Field" />
                                                                                                    <asp:BoundField DataField="CreationDate" HeaderText="CreationDate" SortExpression="CreationDate" />
                                                                                                    <asp:TemplateField>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:Button ID="btnSchedule" runat="server" Text="Schedule" OnClick="btnSchedule_Click"
                                                                                                                CausesValidation="false" />
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                    <asp:TemplateField>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:Button ID="btnSucess" runat="server" Text="Change to Success" OnClick="btnSucess_Click"
                                                                                                                CausesValidation="false" />
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                    <asp:BoundField DataField="ScheduleDate" HeaderText="ScheduleDate" SortExpression="ScheduleDate" />
                                                                                                    <asp:TemplateField>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:Button ID="btnTransfer" runat="server" Text="Transfer" OnClick="btnTransfer_Click"
                                                                                                                CausesValidation="false" />
                                                                                                        </ItemTemplate>
                                                                                                    </asp:TemplateField>
                                                                                                </Columns>
                                                                                                <EmptyDataRowStyle CssClass="errorSpan" Font-Bold="True" Font-Size="15pt" ForeColor="Red" />
                                                                                                <FooterStyle BackColor="#CCCC99" />
                                                                                                <HeaderStyle BackColor="#021D48" Font-Bold="True" ForeColor="white" />
                                                                                                <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                                                <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                                                <AlternatingRowStyle BackColor="#edf7fa" />
                                                                                                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                                                                                                <SortedAscendingCellStyle BackColor="#FDF5AC" />
                                                                                                <SortedAscendingHeaderStyle BackColor="#4D0000" />
                                                                                                <SortedDescendingCellStyle BackColor="#FCF6C0" />
                                                                                                <SortedDescendingHeaderStyle BackColor="#820000" />
                                                                                            </asp:GridView>
                                                                                            <asp:Button ID="btnHidden4" runat="Server" Style="display: none" />
                                                                                            <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnHidden4"
                                                                                                CancelControlID="cancelBtnEdits" PopupControlID="pnlSchdeule" BackgroundCssClass="modalBackground">
                                                                                            </asp:ModalPopupExtender>
                                                                                            <asp:Panel ID="pnlSchdeule" runat="server">
                                                                                                <table class="Backgroundpop" cellpadding="3" cellspacing="3">
                                                                                                    <tr>
                                                                                                        <td class="heading">
                                                                                                            Schdeule
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <div style="float: right">
                                                                                                                <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdits" /></div>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr>
                                                                                                        <td colspan="2">
                                                                                                            Enquiry Id :
                                                                                                            <asp:Label ID="lblEnquiryId" runat="server"></asp:Label>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr>
                                                                                                        <td>
                                                                                                            Schdeule On :-
                                                                                                            <asp:TextBox ID="txtScheule" runat="server"></asp:TextBox>
                                                                                                            <asp:CalendarExtender ID="txtScheule_CalendarExtender" runat="server" TargetControlID="txtScheule">
                                                                                                            </asp:CalendarExtender>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr>
                                                                                                        <td>
                                                                                                            <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click"
                                                                                                                CausesValidation="false" />
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </asp:Panel>
                                                                                            <asp:Button ID="btnHidd" runat="server" Style="display: none" />
                                                                                            <asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="btnHidd"
                                                                                                CancelControlID="cancelBtnEdit1" PopupControlID="pnlTranfer" BackgroundCssClass="modalBackground"
                                                                                                OnLoad="ModalPopupExtender2_Load">
                                                                                            </asp:ModalPopupExtender>
                                                                                            <asp:Panel ID="pnlTranfer" runat="server">
                                                                                                <table class="Backgroundpop" cellpadding="3" cellspacing="3">
                                                                                                    <tr>
                                                                                                        <td class="heading" colspan="2">
                                                                                                            Transfer
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <div style="float: right">
                                                                                                                <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdit1" /></div>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr style="display: none">
                                                                                                        <td>
                                                                                                            <asp:Label ID="lblEnqID" runat="server"></asp:Label>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr>
                                                                                                        <td colspan="2">
                                                                                                            Transfer To :
                                                                                                            <asp:Label ID="Label3" runat="server"></asp:Label>
                                                                                                            Location
                                                                                                        </td>
                                                                                                        <td align="left">
                                                                                                            <asp:DropDownList ID="ddlLocation1" runat="server" Width="170px">
                                                                                                            </asp:DropDownList>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr>
                                                                                                        <td>
                                                                                                            <asp:Button ID="btntransfer" runat="server" Text="Submit" OnClick="btntransfer_Click"
                                                                                                                CausesValidation="false" />
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </asp:Panel>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </ContentTemplate>
                                                                        </asp:UpdatePanel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </center>
    </div>
    </form>
</body>
</html>
